home *** CD-ROM | disk | FTP | other *** search
- Path: inet.dp.beckman.com!newsmaster
- Newsgroups: comp.lang.c++
- Subject: Template delaration problem
- Message-ID: <4e8c1i$mpp@phoenix.dse.beckman.com>
- From: jawalker@ccgate.dp.beckman.com (Jack Walker)
- Date: Thu, 25 Jan 1996 17:30:40 GMT
- Distribution: world
- Organization: DDC, Beckman Instruments, Inc.
- NNTP-Posting-Host: j_walker.dse.beckman.com
- X-Newsreader: Forte Free Agent 1.0.82
-
- My compiler (BC++ 4.52) complains about the following declaration:
-
- template < class T, T init_val>
- class foo
- { . . . };
-
- Specifically it complains about the line cntaining the template
- keyword regarding the type of init_val. Is it valid to define template
- arguments in terms of other template arguments?
- Work:jawalker@ccgate.dp.beckman.com
- Home:75341.3260@compuserve.com
-
-